<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //对象-->键值对
        //
        //
        //

        var obj = {
            width:100 ,
            height:200
        }
        console.log(obj);

        //函数

        var func = function () {
            console.log('this si my function()');
        }

        console.log(func);

        //调用函数
        func();
        // console.log();

        function func2 () {
            console.log('this is my func2');
        }
        func2();

        /*
            js类型
            number string boolean null undefined Symbol
            
            js引用类型
            array object function
        
        
        */
    </script>
</body>
</html>